/*
 * @Author: czy
 * @Date: 2021-04-26 07:48:40
 * @LastEditTime: 2021-05-21 22:37:41
 */

#ifndef __MYSTDIO_H_
#define __MYSTDIO_H_

#include "const.h"
#include "libio.h"
#include "stdarg.h"

void clear(void);
int vsprintf(char *buf, const char *fmt, va_list args);
int sprintf(char *buf, const char *fmt, ...);
int vfprintf(FILE *stream, const char *format, va_list args);
int fprintf(FILE *stream, const char *format, ...);
int vprintf(const char *format, va_list args);
int printf(const char *format, ...);
int fgetc(FILE *stream);
int fputc(int ch, FILE *stream);
int getchar(void);
int putchar(int ch);
void message(int position, const char *color, char *format, ...);

#endif